package com.ruoyi.system.domain.gallery;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.customer.CustomerInfo;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图库评论对象 gallery_comment
 *
 * @author 张少丛
 * @date 2020-12-02
 */
@Data
public class GalleryComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图库评论ID */
    private Long galleryCommentId;

    /** 图库ID */
    @Excel(name = "图库ID")
    private Long galleryCommentInfo;

    /** 评论人 */
    @Excel(name = "评论人")
    private Long galleryCommentCust;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String galleryCommentText;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private Long galleryCommentFabulous;

    /** 评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date galleryCommentTime;

    private String galleryInfoTitle;

    private CustomerInfo customerInfo;

    private List<Long> galleryInfoIds;
}
